package top.hidoctor.auscultation.bean;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class YangbenBean implements Serializable {

    /**
     * page : 1
     * pageSize : 20
     * result : [{"coordinate":"配合","createdTime":1605110400000,"id":"114744397861486592","isDeleted":1,"no":"循音科技-OP00554_20190815T093108","position":"卧位","sampleDetail":{"duration":60000,"id":"114744397861486592","wavPath":"sample/2020/11/12/1605165196220_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744396913573888","isDeleted":1,"no":"循音科技-OP00514_20190906T104351","position":"卧位","sampleDetail":{"duration":60000,"id":"114744396913573888","wavPath":"sample/2020/11/12/1605165195990_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744396435423232","isDeleted":1,"no":"循音科技-OP00509_20190906T100435","position":"卧位","sampleDetail":{"duration":60000,"id":"114744396435423232","wavPath":"sample/2020/11/12/1605165195877_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744396104073216","isDeleted":1,"no":"循音科技-OP00498_20190906T082842","position":"卧位","sampleDetail":{"duration":60000,"id":"114744396104073216","wavPath":"sample/2020/11/12/1605165195776_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744394824810496","isDeleted":1,"no":"循音科技-OP00475_20190830T100024","position":"卧位","sampleDetail":{"duration":60000,"id":"114744394824810496","wavPath":"sample/2020/11/12/1605165195486_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744393897869312","isDeleted":1,"no":"循音科技-op00457_20190829T103345","position":"卧位","sampleDetail":{"duration":60000,"id":"114744393897869312","wavPath":"sample/2020/11/12/1605165195267_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744392803155968","isDeleted":1,"no":"循音科技-OP00441_20190829T083848","position":"卧位","sampleDetail":{"duration":60000,"id":"114744392803155968","wavPath":"sample/2020/11/12/1605165195002_0.wav"},"status":20,"workflow":0},{"coordinate":"配合","createdTime":1605110400000,"id":"114744392383725568","isDeleted":1,"no":"循音科技-OP00438_20190829T082524","position":"卧位","sampleDetail":{"duration":60000,"id":"114744392383725568","wavPath":"sample/2020/11/12/1605165194911_0.wav"},"status":20,"workflow":0}]
     * totalItems : 8
     * totalPages : 1
     */

    private Integer page;
    private Integer pageSize;
    private Integer totalItems;
    private Integer totalPages;
    private List<ResultBean> result;

    @NoArgsConstructor
    @Data
    public static class ResultBean implements Serializable {
        /**
         * coordinate : 配合
         * createdTime : 1605110400000
         * id : 114744397861486592
         * isDeleted : 1
         * no : 循音科技-OP00554_20190815T093108
         * position : 卧位
         * sampleDetail : {"duration":60000,"id":"114744397861486592","wavPath":"sample/2020/11/12/1605165196220_0.wav"}
         * status : 20
         * workflow : 0
         */

        private String coordinate;
        private Long createdTime;
        private String id;
        private Integer isDeleted;
        private String no;
        private String position;
        private SampleDetailBean sampleDetail;
        private Integer status;
        private Integer workflow;
        private boolean check; //是否选中
        private String sampleId; //疑难


    }
}
